<div class="row-fluid sortable ui-sortable">
	<div id="list-peternakan" class="box span12">
		<div class="box-header well" data-original-title>
			<h2><i class="icon-home"></i> Peternakan</h2>
			<div class="box-icon">
				<a href="#" class="btn btn-minimize btn-round"><i class="icon-chevron-up"></i></a>
			</div>
		</div>
		<div class="box-content">
			<table class="table table-striped table-bordered bootstrap-datatable datatable">
				<thead>
					<tr>
						<th>#</th>
						<th>Peternakan</th>
						<th>Jenis Sapi</th>
						<th>Alasan Perubahan</th>
						<th>Jumlah</th>
						<th>Tanggal Kejadian</th>
						<th>Ditambahkan Oleh</th>
						<th>Catatan</th>
					</tr>
				</thead>   
				<tbody>
				<?php $i=1; if($data_stok):foreach($data_stok->result_array() as $row): 
							echo"<tr>
								<td class='id_Stok".$row['ID_STOK']."'>".$i."</td>
								<td class='peternakan".$row['ID_STOK']."'>".$row['PETERNAKAN']."</td>
								<td class='sapi".$row['ID_STOK']."'>".$row['SAPI']."</td>
								<td class='alasan".$row['ID_STOK']."'>".$row['ALASAN']."</td>
								<td class='jumlah".$row['ID_STOK']."'>".$row['JUMLAH']."</td>
								<td class='tanggal".$row['ID_STOK']."'>".$row['TANGGAL_KEJADIAN']."</td>
								<td class='user".$row['ID_STOK']."'>".$row['USER']."</td>
								<td class='catatan".$row['ID_STOK']."'>".$row['KOMENTAR']."</td>
								
							</tr>";
					$i++;endforeach;endif; ?>
				</tbody>
			</table>            
		</div>
	</div>
</div>

